Initial Algebra Semantics for Cyclic Sharing Tree Structures
نویسنده
چکیده
Terms are a concise representation of tree structures. Since they can be naturally defined by an inductive type, they offer data structures in functional programming and mechanised reasoning with useful principles such as structural induction and structural recursion. However, for graphs or ”tree-like” structures – trees involving cycles and sharing – it remains unclear what kind of inductive structures exists and how we can faithfully assign a term representation of them. In this paper we propose a simple term syntax for cyclic sharing structures that admits structural induction and recursion principles. We show that the obtained syntax is directly usable in the functional language Haskell and the proof assistant Agda, as well as ordinary data structures such as lists and trees. To achieve this goal, we use a categorical approach to initial algebra semantics in a presheaf category. That approach follows the line of Fiore, Plotkin and Turi’s models of abstract syntax with variable binding.
منابع مشابه
Initial Algebra Semantics for Cyclic Sharing Structures
syntax Set ADJ 1975 S-sorted abstract syntax Set Robinson 1994 Abstract syntax with binding SetF Fiore,Plotkin,Turi 1999 Recursive path ordring LO R. Hasegawa 2002 S-sorted 2nd-order abs. syn. (SetF↓S)S Fiore 2003 2nd-order rewriting systems PreF Hamana 2005 Explicit substitutions [Set,Set]f Ghani,Uustalu,Hamana 2006 Cyclic sharing structures (SetT ∗ )T Hamana 2009
متن کاملFunctorial semantics of topological theories
Following the categorical approach to universal algebra through algebraic theories, proposed by F.~W.~Lawvere in his PhD thesis, this paper aims at introducing a similar setting for general topology. The cornerstone of the new framework is the notion of emph{categorically-algebraic} (emph{catalg}) emph{topological theory}, whose models induce a category of topological structures. We introduce t...
متن کاملWeighted Tree Automata over Strong Bimonoids
We consider weighted tree automata over strong bimonoids which are, roughly speaking, semirings without distributivity. We prove sufficient and necessary conditions under which the initial algebra semantics and the run semantics of these automata coincide. We prove closure properties of the class of recognizable tree series, a determinization result, and a characterization of recognizable step ...
متن کاملDeterminization of weighted finite automata over strong bimonoids
We consider weighted finite automata over strong bimonoids, where these weight structures can be considered as semirings which might lack distributivity. Then, in general, the well-known run semantics, initial algebra semantics, and transition semantics of an automaton are different. We prove an algebraic characterization for the initial algebra semantics in terms of stable finitely generated s...
متن کاملFatigue Life Prediction of Rivet Joints
Strength reduction in structures like an aircraft could be resulted as cyclic loads over a period of time and is an important factor for structural life prediction. Service loads are emphasized at the regions of stress concentration, mostly at the connection of components. The initial flaw prompting the service life was expected by using the Equivalent Initial Flaw Size (EIFS) which has been re...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Logical Methods in Computer Science
دوره 6 شماره
صفحات -
تاریخ انتشار 2010